#pragma once
#include "lvgl.h"

typedef enum {
    LOGIC_STATUS_DISCONNECTED,
    LOGIC_STATUS_CONNECTED,
    LOGIC_STATUS_ACQUIRING,
    LOGIC_STATUS_MAX
} logic_status_t;
lv_obj_t *create_logic_analyzer_ui(void);
// 更新设备状态函数
void update_logic_dev_status(logic_status_t status);
void exit_logic_analyzer_ui(lv_obj_t *root);